<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link href="Styles/bootstrap.min.css" rel="stylesheet" />
<link href="Styles/bootstrap-responsive.min.css" rel="stylesheet" />
<link href="Styles/font-awesome.css" rel="stylesheet" />
<link href="Styles/adminia.css" rel="stylesheet" />
<link href="Styles/main.css" rel="stylesheet" />

<link href="Styles/ui/jquery.ui.core.css" rel="stylesheet" />
<link href="Styles/ui/jquery.ui.datepicker.css" rel="stylesheet" />


<link rel="stylesheet" href="Styles/test/ping.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
	//NS.showComp("deviceNav")
</script>
<script type="text/javascript" src="Scripts/jquery-1.7.2.min.js"></script>
</head>
<body>
	<div class="content-min">
		<div class="fl w_860 m_r30">
			<h1 class="page-title">拨测系统后台管理系统</h1>

			<div class="widget-content" style="background: url('Img/test/loginBC.GIF'); width: 1000px; height: 580px;">
		

				<div id="loginDiv">
					<div class="widget-header">
						<h3 style="margin-top: 10px;">登录</h3>
					</div>
			
						<div style=" margin-top: 20px;">

							<table style="margin: 0 auto;">

								<tr style="margin-top: 20px; display: none;">
									<td style="font-size: 14px;">账 号：</td>
									<td><input type="text" style="width: 150px;" value="login"></input>
									</td>
								</tr>

								<tr style="margin-top: 20px;">
									<td style="font-size: 14px;">账 号：</td>

									<td><input type="text" id="nameNumber"
										style="width: 150px;"></input></td>

								</tr>
								<tr style="margin-top: 20px;">
									<td>密 码：</td>

									<td><input type="password"  id="pwd" style="width: 150px;"></input>
									</td>

								</tr>
								<tr>
									<td></td>

									<td>
										<button id="loginBtn" onclick="login()" style="width: 150px;"
											class="btn btn-primary m_r">登录</button>
									</td>

								</tr>
							</table>
						</div>

			


				</div>

			</div>


		</div>
	</div>
	<script type="text/javascript">
		function login() {

			$.post("user", {
				"types" : "login",
				"nameNumber" : $("#nameNumber").val(),
				"pwd" : $("#pwd").val()
			}, function(data) {

				if (data.success == "false") {

					alert("密码错误")

				} else {

					window.location.href = "user?types=success";

				}

			}, "json");
		}
	</script>
</body>
</html>
